﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Content.Master" Inherits="System.Web.Mvc.ViewPage<cludg.Web.ViewModels.CommentModel>" %>
<%@ Import Namespace="cludg.Web.ViewModels" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Add Comment
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<% Html.RenderPartial("CommentEditControl", new CommentModel { StoryId = Model.StoryId, CommentId = Model.CommentId }); %>
	<div>
		<%: Html.ActionLink("Вернуться к истории", "Show", new { id = Model.StoryId }) %>
	</div>
</asp:Content>
